KoverVariantSources

Limit the classes that will be included in the reports. These settings do not affect the instrumentation of classes.

The settings specified here affect all reports in any projects that use the current project depending on. However, these settings should be used to regulate classes specific only to the project in which this setting is specified.

Example:

sources {
   // exclude classes compiled by Java compiler from all reports
   excludeJava = true

   // exclude source classes of specified source sets from all reports
   excludedSourceSets.addAll(excludedSourceSet)

   // exclude classes of all non-specified source sets from all reports.
   includedSourceSets.addAll(includedSourceSet)

Inheritors

Properties

Link copied to clipboard
abstract val excludedSourceSets: SetProperty<String>

Exclude source classes of specified source sets from all reports.

Link copied to clipboard
abstract val excludeJava: Property<Boolean>

Exclude classes compiled by Java compiler from all reports

Link copied to clipboard
abstract val includedSourceSets: SetProperty<String>

Exclude classes of all non-specified source sets from all reports.